import { COL } from "../config/config"
// 获取id
export const GEBI = (id: string) => document.getElementById(id)
// 获取列数
export const getCol = (position: number) => !(position % COL) ? COL : position % COL
// 获取行数
export const getRow = (position: number) => !(position % COL) ? position / COL : Math.ceil(position / COL)

